package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author LIGHT
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@TableName("payment")
public class Payment {
  @TableId(type = IdType.AUTO)
  private long paymentId;
  private long orderId;
  private long userId;
  private String paymentMethod;
  private String transactionId;
  private double amount;
  private long status;
  private java.sql.Timestamp payTime;
  private java.sql.Timestamp createdAt;
  private java.sql.Timestamp updatedAt;
}
